
@interface SlidingView : UIView

@property (nonatomic, assign) float animationDuration;
@property (nonatomic, weak) UIViewController *viewController;
@property (nonatomic, strong) UIButton *dragButton;

-(SlidingView*)initWithLength:(CGFloat)length;
-(void)attachToView:(UIView *)parentView;
-(void)setControllerSubview:(UIView*)subview;
-(void)showSliderTab;
-(void)hideSliderTab;
-(void)showSliderContent;
-(void)hideSliderContent;
-(void)showSliderContentWithDuration:(NSTimeInterval)time;
-(void)hideSliderContentWithDuration:(NSTimeInterval)time;

@end
